clean and add comments in tarball class