Renamed to getComponent and introduces getParams and refactored constructor of UrlBuilder to use new function