Adjust encode task to our needs.
Add support for task add and task done.
Add task modify support