Better handling of configuration and the local broker URL.