renamed from index.js to server.js