add SQLite class to save search records.