Refactor Page and Crawler in different files