add class in duinoedu

add class and fixe some bug