V3 add pages

Added support for pages via getPage, getPages and search. Added a model for Pages.

TODO: Needs tests and a refactor to be more DRY.