Compression wrapper library