adding class of persistence model