add basic class tree