Extracted EventStore to separate repository.