adding optional initialize and destroy methods in event stores and calling them in assembler is defined
fix method call in mongo db event store and adding error check in assembler