Refactored code for searching organizations. Now more like MVC.
Refactored code for searching events. Fixed a typo with organizations being typed like oganizations.