Created class and packages following the model-view-controller