Connection wrapper to SQLite databases