Add Task resource and set content type