add class model