moving example code into subpackage, doing real world example.