Added Event class and EventStore.