Text this: Closed-loop coordination of connected and automated vehicles in structured road networks