SmartFactory: A Clean, Efficient, and Safe System of Mass Production