CNC factory