Initial sample code.

Needs a lot of work....