Add class model