Removed the dependency to thread module and used threading module instead.y
y