Intelligent Traffic Control With Connected And Automated Vehicles