Add EventStoreFactory