renamed index.js to app.js in keeping with express convention