Refactor of metadata management utilities as Moose Roles