Allowing base uri and debug logging settings to be provided at initialization