Connection Factory class added