Implement python bindings with pybind11