#12 add support for roles and workflow