Refactor: extracted PageSummary object to its own class