modified app.js to server.js