Move server.js to app.js