build class tree...