Added pages controller and set root for heroku setup