Add ability to delete task

Signed-off-by: Thynson <lanxingcan@gmail.com>