improve SessionFactoryBuilder