Modifying Page/PageId types to become newtypes

Also renamed the page extraction functions and made them point free :)