Change AST nodes from classes to structs
Remove unnecessary AST nodes (Type and ScalarType)