refactoring IDecodr & Jpeg::Decodr