Refactor roles and meeting code