rm generated code and add png class diagram