extracted Page class, html reformatted to 2 spaces indent