Added Management of Hazard Signals

It is slightly broken right now though