Rewrite

Proposed re-write of Python client for 1.0 version