Imlement header (de)serializing.
Revise DataUnit.
Add unit tests.