Rename addToUrl to toUrl

Now it returns a new url instead of a modified base url