1.An array uses indices and a hash uses "keys"
2.Classes are simply a convenient way to organize functions (also called methods). In pages_controller.rb, PagesController is a Class which holds a "home" action.
3.A controller is a container for a group of (possibly dynamic) web pages.
4.This maps requests for the URL /pages/home to the home action in the Pages controller.