add index.js, add server.js as module