decompose Decoder logic into own classes