Updated XML doc strings for API.
Refactored SearchViewModel to make more testable.