exposing C++ stuff to python