Added basic routing in router.js, including splitting out templates into a 'layout' and 'home' template, waitOn function to subscribe to data and added sacha:spin package to use in creating loading template