refactor business logic into scraper class, add main.rb