add class service