Added router.js for front-end. Finished app.js.