added support for configuring the base url used to make for REST calls