ENH:modify doc and add class diagrams