Refactored Person.search to model