Adding new class connection factory.