generated Pages controller and created basic routes