init Main Activity, changed to extending from Activity to clear errors