Added a Pages controller
Some change and Testing case