Working on the model of the MVC