Factory object for creating instances of KaryaClient.
Creates an instance of KaryaClient using the provided configuration.