Gets rid of the $cgsimple smarty variable (for CMSMS 2.0 compatibility wrt scopes). Now registers a class 'cgsimple' so static methods must now be used.