Adding C++ binding and example