add CaseSearch model and some search stuff