Sensor Based Application for Smart Vehicles