Python Implementation

Still some work remaining, but general scheme in place.