Check if page already exists for report

Also moved code to add page into its own class