add tasks controller/api