Major refactor

Near complete re-build using more streamlined pack/unpack process
pipeline and hex encoding rather than base64. Support for storing both
Long and string in ticked.