shifting server code to server.js