Accidents Prevention and Forecasting Automated System