Make base url configurable