Various formatting changes, add decoding file template.