SQLite storage layer