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

Update the sample code for the latest engine.