Improve class & add new class Compress