Formatted existing files, restructured encoding packet class
Merged changes on encoding packet header