Add stub for high-level api, and testit.py which exercises it.