initial Thread class