Add comments to package tachyon.worker

Add comments to package tachyon.worker and format the code.