New designated constructor that accepts an event store