Created an event store and added stream state in order to enforce concurrency checking