enabled to call Smarty instance as an Singleton object