add Constructor/Destructor in factory.

refresh LifeOfBlocks.layout