Moved RootScope to a separate file
Comments updated