partitioned db pool

The single threaded approach became a bottleneck for me.

fixes #58