move creation of collection_action and button to dsl method
Merge branch 'add-resourse-dsl'