Added the thread pool (w/Pthreads)