SQLite API wrapper class