move define ThreadPool to header file, and remove some test code