added task model and controller