add huffman table parsing (undebugged)