var fs = require('fs');
var config = JSON.parse(fs.readFileSync('./config.json'));

var express = require('express');
var app = express();
var server = require('http').createServer(app);
var io = require('socket.io')(server);

app.set('port', (process.env.PORT || 5000));
app.use(express.static(__dirname + '/public'));

var Twit = require('twit');
var twitter = new Twit({
  consumer_key: config.twitter.consumer_key,
  consumer_secret: config.twitter.consumer_secret,
  access_token: config.twitter.access_token,
  access_token_secret: config.twitter.access_token_secret
});

app.get('/', function(request, response) {
  response.send('Hello world!');
});

server.listen(app.get('port'), function() {
  console.log("Node app is running at localhost:" + app.get('port'));
});

@@ -1,12 +1,40 @@
+//load the config json file%0A
 var fs = req
@@ -101,24 +101,74 @@
 g.json'));%0A%0A
+//create and configure the express app and server%0A
 var express 
@@ -392,16 +392,46 @@
 ic'));%0A%0A
+//set up the twitter instance%0A
 var Twit
@@ -675,24 +675,35 @@
 secret%0A%7D);%0A%0A
+//homepage%0A
 app.get('/',
@@ -771,16 +771,58 @@
 );%0A%7D);%0A%0A
+//start the server listening for requests%0A
 server.l

put the comments back in