Design of Real-time Disaster Safety management Solution in a Smart Environment