make base_url configurable