Working on refactoring compiler/AST