added all the thread classes for the different states