Added the Model classes. Split classes into packages (model, controller, view, and main package).