documentation for class Thread added.