Model.
Add page, rect and rect_type models.
Merge pull request #1 from cocodrips/model

Model.