Added model validation and more tests. Added one controller per page.