GLobal state now managed by app class as opposed to activity
And now added the app file...