Traffic Management and Accident Investigation with Defensive Driving