Create base event class