Refactored event model and changed controllers and views appropriately.