moving scrape into a separate module