Allow OSM base URL to be configured

Allow the base URL to be past to the constructor.