Added new view pages, a controller, and added the methods to the model.