Switching to a slightly different structure for table shards.

Add numpy array wrapper, some tests.