Merge pull request #20 from natural-law/develop

Update the sample code for the latest engine.