moved sportsgamesoutcome logic from controller to the model