change events to resources and start adding resource views