feat: packager/unpackager refactor and test coverage. add tarball fixtures