Separate logic between scraper and application