There are a bunch of duplicates in here. For example, Rubble and Wall are both added twice. Each factory should only be added once. It's not strictly a problem currently, but it could be a problem in maintenance, since maintainers could make changes to the first copy of the factory, which would then be erased by the second copy. These duplicates should be removed.