Gravity: add SQLiteConnection class