var fs = require('fs'),
  log = require('./log'),
  express = require('express'),
  app = express(),
  config = require('./config');
  pluginRoot = './plugins';

log.info('[app]', 'Scanning for plugins.');

fs.readdirSync(pluginRoot).forEach(function(folder) {

  var pluginPath = pluginRoot + '/' + folder;

  log.verbose('[app]', 'Scanning folder ' + pluginPath);

  var files = fs.readdirSync(pluginPath);

  if (files.indexOf('index.js') > -1) {

    try {
      var plugin = require(pluginPath);

      log.info('[app]', 'Initializing ' + plugin.name() + ' v' + plugin.version());

      plugin.init(app);

    } catch(e) {
      log.error('[app]', e.stack);
    }

  } else {
    log.error('[app]', 'Missing index.js in ' + pluginPath);
  }
});

try {
  app.listen(config.port);
  log.info('[app]', 'Server listening at port ' + config.port);
} catch(e) {
  log.error('[app]', e.stack);
}
@@ -155,16 +155,77 @@
 gins';%0A%0A
+app.use(express.bodyParser());%0Aapp.disable('x-powered-by');%0A%0A
 log.info

Use bodyParser() and remove x-powered-by