added an index.js file and router.js to the app