First working commit, as package. See example.py