add almost all comment and use yuidoc to generate document