CNC Lathe Automation