updating the client to use a configuration class