Implement CSet search and saving to SQLdb.