Move BlobIds to cython; otherwise they become a bottleneck in
serialization, etc.
Add setup files.