Added some test cases, null checking, and lots of TODOs.  Possible
change of structure in buildInstance -- loop over MFHD records or 999
fields?