Moved route methods to model from search model