Separation of app object into its own module to better handle passing between modules