A context aware and location sensitive distributed system for The Perfect Hospital