Improved serialization for key exports with variable integer encoding. Space efficient custom byte packing scheme for input [u8] slice. Added example to demo import/exports. Removed unnecessary error enums. Lots of refactoring.