Made the Client conform with the changes. Made API base url configurable.