Added data integrity hashes to messages, made adding a new line to the body part of marshalling of the message, so it can be symmetrically be undone as part of the unmarshalling. Next on to reading files and determining the last sequence number.