Add globals
Update gapi and oauth functionality
Various improvements and rootscope decoupling
Update tests
Update build