Hierarchical Design Of Connected Cruise Control: Perception, Planning, And Execution