Create thread-class.py