Added a Pages controller
Updated pages and added tests