moving thinktank scraping functions out of the root