remove duplicated code by create _item_show and _item_create and use it where applicable
remove duplicated code by create _item_show and _item_create and use it where applicable

hoonetorg/salt-pcs-formula,hoonetorg/salt-pcs-formula