move server.js to env