<commit_before>//Require Module Dependencies
var hapi = require('hapi'),
	mongoose = require('mongoose'),
	Path =  require('path'),
	socketio = require('socket.io');
//Require Imports
var routes = require('./app/routes'),
	configDB = require('./config/database.js'),
	Crypter = require('./app/utils/crypting.js');

mongoose.connect(configDB.url);
mongoose.connection.on('disconnected', function() { console.log("disconnected from db...");});

var serverOptions = 
{
	views : 
	{
		engines : 
		{
			html : require('handlebars')			
		},
		basePath : __dirname,
		path : './views'
	}
}<commit_msg>-Implemented Orchestrate (along with the test ping function)<commit_after>//Require Module Dependencies
var hapi = require('hapi'),
	mongoose = require('mongoose'),
	Path =  require('path'),
	socketio = require('socket.io'),
	orchestrate = require('orchestrate')('2bfb3d34-cfd7-4649-b0dc-80c31b391ed9');
//Require Imports
var routes = require('./app/routes'),
	configDB = require('./config/database.js'),
	Crypter = require('./app/utils/crypting.js');

mongoose.connect(configDB.url);
mongoose.connection.on('disconnected', function() { console.log("disconnected from db...");});

orchestrate.ping()
.then(function() 
{
	console.log("Orchestrate ping successful");
})
.fail(function(err) 
{
	console.log("Orchestrate ping failed");
})

var serverOptions = 
{
	views : 
	{
		engines : 
		{
			html : require('handlebars')			
		},
		basePath : __dirname,
		path : './views'
	}
}
{'fraction_non_alphanumeric': 0.18082936777702244, 'fraction_numerical': 0.012236573759347382, 'mean_word_length': 4.533834586466165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1001284', 'n_tokens_mistral': 532, 'n_tokens_neox': 506, 'n_words': 92}