Need to implement create_event and the event functions.