simplified template AST nodes which were unnecessary, fixed SymbolsVisitor that generates symbol table