A Driver, Vehicle And Road Safety System Using Smartphones