Added task model and controller