add skilltree class and change data structure