Much progress on getting the header to read and write