move server.js to the root level