Added some stuff to the rootScope for better access