added models for events and event_types