Title: A control architecture for intelligent robots based on graph manipulation for planning, monitoring, execution, intention switching, and fault recovery