mainactivity is now a fragment that lives in new mainactivity