add method to Client class to write default config file.  add sample script to use that method.