clean up server.js, add things to package.json