abstracting out my routing into a router.js file that will sit in the ap...

...p director.