Restructure

I've had some time to read up on Node and Angular best practices and applied some of them to our UI . In addition to some new code I've made a few changes to directory structure so things are a bit more organized. Nothing has changed in terms of functionality. Things still look and work the same way as before.

All of the functionality of this file is now in app/routes.js