changing app.js to server.js