Refactored upload methods out of the controller and into the Event model