thread

add thread class