Holonic System for Real-Time Emergency Management in Buildings