added class method scope keywords

and another RQ for smarty_init() scope keyword