* added view() method to mvc controller class definition.