Refactored app.js and server.js