load resources with groups