Adaptive Prediction And Planning For Safe And Effective Autonomous Vehicles