Create listeners Package and add RootPageListener for closing activity when root page is closed.
Clean up, refatoring, and back button handling