created task model and the views and controller