complete refactor. now scraper runs as an instance of the ScraperInstance class instead of