Cleanup of server.js and added config.json for application level configuration parameters.