Avoid using global objects in Constructors and Destructors | CAST Appmarq