Use StrPack, add some convenience functions
Add write functionality