Rename all the factories to their respective sub folder.