Support saving memo
Refactor memoService