Added the pages controller with associated model and view code.