C++ wrapper for sqlite3 api