add classes diagram