Add comments and format the code

Add comments to package tachyon.worker and format the code.
Merge pull request #263 from PasaLab/comment-worker

Add comments to package tachyon.worker