mv scrape to lib
fix scrape requires; scrape logging