Initial support for zlib compression; added classes