Move the url generator to where it belongs