Changed the field names
Fixed the optional parameters list
added the BaseURI and the create client function