How do I simplify allocation of resources using groups?