Title: A hierarchical control architecture for job-shop manufacturing systems