Python interface. progress on linking with python library.