fix to_many model magic to use given object name
add app event objects, available as app.events