C++ class for SQLite