Initial work to get a python interface, non working so far
Working Python implementation :)