CAST tools for intelligent control in manufacturing automation