Accident Detection and Criticality Assessment System