factory objects will now also be put in the internalcatalog; more consistent than the other way. code is set correctly from a name now