Massive refactor to allow separate collections of resources with their own associated registered resource types.