Generate pages_controller (which also creates routes)