Configurable base URL

This allows you to configure the base URL.