Divided main.js to memo-list.js and memo-detail.js