added preliminary Zlib based compression framework.