added pages controller
Merge pull request #1 from KDonohoe/s1

added pages controller