fixed memory leak, completed zip support for c++ level class