Updated ViewController to auto add in method porteies into  css-class view.