Zlib compression

Closes #9