task model and controller

initialized model and controller