A Complex Event Processing (CEP)-based smart aid system for fire and danger management