remove threadpool
add extern ThreadPool
change CMakeList for external source