Add class from class diagram