feature: basic api for tasks