EDiting the model of the class: MainFrame