create server.js as new entry point for the app