Refactor persistent memory to use #[wasm_bindgen]
struct
#54
+45
−32
#[wasm_bindgen]
struct
#54