added in mem caching of urls
removed file caching functions