Initial multithreaded implementation
Merge remote-tracking branch 'anchor/threaded'
Move contents map into MVar