Remove app.js file and refactor into server.js