started event api, handles adding and removing events