Refactoring Model, Dao, Service i Controller.