change server.js to be a module, create index.js to bootstrap and start our app