class diagram added.