Added class diagram.
Fixed install error.