Common url generation class implemented.