portal refactor and meritus scraper