Added ClientConfig to hold configuration values
Updated client to create a ClientConfig