refactor scraping to ScrapeManager