updated the c++ wrapper to the new api

this wrapper includes the new set of functions to fully control the
memory scanner and the cheat table in c++