Add getEventStore

Missing part: slicing and optimistic lock