// Base library import
var express = require('express'),
    bodyParser = require('body-parser'),
    compression = require('compression'),
    app = express();

// Custom class library import
var offerSvc = require('./server/offers');

app.set('port', process.env.PORT || 3000);

app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());
app.use(compression());

app.use('/', express.static(__dirname + '/www'));

app.listen(app.get('port'), function () {
    console.log('Express server listening on port ' + app.get('port'));
});
@@ -58,329 +58,66 @@
     
-bodyParser = require('body-parser'),%0A    compression = require('compression'),%0A    app = express();%0A%0A// Custom class library import%0Avar offerSvc = require('./server/offers');%0A%0Aapp.set('port', process.env.PORT %7C%7C 3000);%0A%0Aapp.use(bodyParser.urlencoded(%7B extended: true %7D));%0Aapp.use(bodyParser.json());%0Aapp.use(compression()
+app = express();%0A%0Aapp.set('port', process.env.PORT %7C%7C 3000
 );%0A%0A

remove some uneeded library definition