Remove server.listen() from main.js, provide server object to developer instead.