modularized the scraper class and split it into it's own file