Textile Work Intelligence by hierarchical closed-loop control for product and process quality in the Textile Industry