add worker pool functionality
Merge pull request #21 from alal3177/worker_pool_log

add worker pool functionality