[code style] add class doc comment and replace and add function doc comment 1