refactored lots of stuff for modularity, scraping now repeats at user specified intervals