finish persistence module
move some functions to Nancykriya.Common