compatibility to  mongodb-odm

added classMetadataFactoryName to configuration
added loadClassMetadata event