added primitive persistence functions for ccv_icf training

I am starting to thinking about a systematic way of doing persistence while training