moved app.js to server.js for git deployment