add threadpool.py for simple thread helper