Create the header class with encoding and decoding methods.
Added docs to the header class