Refactored to make the project a better library, with a better example ds.py.  Added a stub for licensing.