Moved OneChunkTransformer to helpers
Implemented decoding with tests