move thread_pool to common/base directory