refactored. added pdf scraper.