Lay out constants for option IDs and states.  Include tests for state field parsing.
Parse some of the header data.  Throw exception for bad magic number.
Partial implementation of header/state parsing
Convert endianness