SQLite database manager