add managed object class for sample.