Generate Pages controller and configured the routes file