First pass at the api for a reference implementation of talking to
hdf files.