Modified Sasha's example to use latest pydecode implementation
Added Parsing class. Followed pep8 conventions