reworked the detail view, events and controllers.