INCOMPLETE: refactor server.js