Wip sharded threadpool

Please review this sharded threadpool implementation.