Update API docs and demos for recent worker improvements.
Merge pull request #116 from duanyao/update_doc_for_new_worker

Update API docs and demos for recent worker improvements.