Functional scraper
Added a bit of beautification comments