Thread class introduced