Dynamic Routing And Information Sharing For Connected And Autonomous Vehicles