Added base_url to parameter list
changed parentlink tags
changed parentlinks tags
removed base_url from parameters
Changed cache lookup order
Fixed link generation bugs