task model is up. look at how all the data access logic moved from the controller to the model class.