Created initial revision of persistence api...