add error handling for SearchViewModel, reorg projects, and clean usings