refactor scraper

Refactor scraper. Separate scraper from parsing. Stub the parser.