moved all configuration to the config.js file and left a leaner server.js