modify readme and add xml output for AST