Updated Thread class

Almost done (Need testing)