Basic table write functionality implemented.
Basic binary table write works.
Minor refactoring.
Card sorting fixed and seems to work.
Structure based array writers work.
BinTable writes works, unit tests added.
Removed code generation for sake of simplicity.
Comments added. Minimal refactoring.
Header reading issue fixed.