A two-class traffic control scheme for reducing congestion and improving safety in freeway systems