url creates a url object