Class Diagrams Update

1. Now the original string of EventType only exists in debug mode.
2. Completed the class diagram for resource module.