init layout for main.html
implement 'add todo' function in main.js
implement feature 'remove todo item'