Take a URL string, and return an object. Extend from native url module