move threadClass into lib
fixed dependencies of threadclass.py