added nom file to gitignore
Removed unused controller
moved routes.js to config directory
added mongoDB config depending on the environment