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.

At the moment the less than Date() criteria is somewhat redundant. I was trying to limit the returned queries to within a certain time period (past 3 days), but I was unable to get it working. Just left it in there so I can remember to fix it. Same applies to line 110.