copying ruby singleton class from transient to persistent dict. NOT READY YET