Add abstract compressor class