Add documentation for task management