added header and reader
added reading of header and tests