update decoder, encoder, main, remove crc32