Merge pull request #1 from qwertos/add_decoder

Add decoder
Fix indentation, bump version to 1.0.0