Move ThingFactory to dll