ResourceRegistrar (for now?) and fix a TODO
Beginnings of resource factory registration.