Added SessionFactoryFactory