UNTESTED: Fixing DB access I think, templates next
UNTESTED: Templates work now but design decision needed as to where to keep Angular JS and SPA?