split documents

This merge divorces the data specification from the access methods.