Update the sample code for the latest engine.
Merge pull request #20 from natural-law/develop

Update the sample code for the latest engine.