initial import of the python interface.

lot to do...