Add documentation to the Task interface
Update and format documentation