1) Added new EventStoreFactory (by andreabandera)
2) Fix code into several files in order to use EventStoreFactory