old_contents: 'use strict';
  
  //make '.jsx' extensions files requirable by node
  require('node-jsx').install();
  
  //require node modules
  var express = require('express'),
      http = require('http'),
      path = require('path'),
      renderer = require('react-engine');
  
  var app = express();
  
  //set up react-engine
  var engine = renderer.server.create();
  app.engine('jsx', engine);
  app.set('views', __dirname + '/public/views');
  app.set('view engine', 'jsx');
  
  app.set('view',renderer.expressView);
  
  //public assets
  app.use(express.static(__dirname + '/public'));
  
  app.set('port', process.env.PORT || 3000);
  
  app.use(require('body-parser')());
  
  //router
  (require('./router')(app));
  
  http.createServer(app).listen(app.get('port'),function(){
  
    var host = 'localhost';
  
    var port = app.get('port');
  
    console.log('Express started in: ' + app.get('env') +
    ' mode on http://%s:%s; press Ctrl-c to terminate', host, port);
  });
  
new_contents: 'use strict';
  
  //make '.jsx' extensions files requirable by node
  require('node-jsx').install();
  
  //require node modules
  var express = require('express'),
      http = require('http'),
      path = require('path'),
      renderer = require('react-engine');
  
  var app = express();
  
  //set up react-engine
  var engine = renderer.server.create();
  app.engine('jsx', engine);
  app.set('views', __dirname + '/public/views');
  app.set('view engine', 'jsx');
  
  app.set('view',renderer.expressView);
  
  //public assets
  app.use(express.static(__dirname + '/public'));
  
  app.set('port', process.env.PORT || 3000);
  
  app.use(require('body-parser').urlencoded({
    extended:true
  }));
  
  //router
  (require('./router')(app));
  
  http.createServer(app).listen(app.get('port'),function(){
  
    var host = 'localhost';
  
    var port = app.get('port');
  
    console.log('Express started in: ' + app.get('env') +
    ' mode on http://%s:%s; press Ctrl-c to terminate', host, port);
  });
  
subject: use body-parser separate