refactor code from Foreclosure to COJScraper class