Added a Pages controller
dependencies fix