add thread pool. sooner or later it will be used.
add thread pool. sooner or later it will be used.
move config out of inplementation.