Fully implemented Config class, and reimplemented Client to take advantage of Config class.