Flyweight e Observer pattern