Setup server.js file to run the app

Added all the required modules to the file in order to setup the app
with a login system. All routes will be routed from app/routes.js.