Make base URL configurable

Dammit, forgot to say docs.