adds ClientFactory