add resources, events and actions (not ended)