Cleaning up the Page model so that it works as an ActiveRecord and adding more page processing. Stubbing out the views.