created model for businesses and tested in the results_controller.
moved sorting action into its own method.
Merge pull request #6 from mjafshar/refactor_location

Refactor location