CNC sawing and milling machine