update basic example to use new interface
Merge pull request #151 from ryanxcharles/feature/update-basic-example

Update basic example