MyApplication class now has a consturctor