changed view structure and controller structure to reflect GUI. Pages controller is renamed to Static Controller and now only used for Static Pages