introduced EventStorage
added some error handling to event store client