added SQLite3 base class