Started refactoring router.js and added some more HTML templates
to reflect changes to router in server.js