Building Decorator and Fire Sensor Abstract Factory pattern
implementations