Adding details about the Task API

I attempted to add some details around the Task API. I took some liberty with the formatting as I didn't see a lot of consistency throughout the other documentation. Please let me know if I am off or any formatting changes are required. 

Thanks!