feat: add mem struct transform and store (#11)