modified files for add connectionfactory