conflicts with same named result codes from cmSerialize.h.
Recording has been tested but reading the recorded files has not. Initial commit.