moved extracting stuff to decompressor class