Added capability to set custom MongoDB URI with env variables
Moving all app server to server.js. closes #15
Refactoring routes files; now exports a function with app as param