working version of thread pool - v0.1
pool is temporarily working
Now the pool works just fine.
thread pool works with callback functionality