Rename thread1 to thread1Class