adding ConfigurationFactory for Doctrine