Add directive for root url so user won't see incomplete rendering, and flatify-fy settings and password pages
WIP separation of services and controllers from app sub modules
Merged Ron's updates from the pull request, fixed a conflict in app.js