Adding code and example.py to show simple use case.