Manufacturing planning and control systems