Wip sharded threadpool

This is a pull request for sharded thread-pool.