Event class now extends Activity