added pages controller and relocate file in public to Pages view