The main program
BuildingManagement b1 = new BuildingManagement();
b1.add(new RoomLights(101)); // control lights in room 101
b1.add(new EmergencyLight(101)); // and emerg. lights.
// add the computer on desk#4 in room 101
b1.add(new ComputerCPU(10104));
// and its monitor
b1.add(new ComputerMonitor(10104));
// time passes, and the sun sets...
b1.goodNight();