base class definitions
fixes to class grammar: this, base
preparation to AST compilation