General Update

Added Header
Added isPage function
Verify if isPage before getting the page number
Validate first and final page.