Adding PagesController, rspec, and some rubocop fixes