C++ wrapper for SQLite db