Added compressor. Fixed #24