Add the directory bean and remove useless chinese comments. Before using the bean to parse XML