split TodoView into TodoViewBase that has nothing to do with dom
uniform funciton names

updateX called when model changes, update views.
checkX called when model changes, keep some model data in sync.
toggleX called from controller, which will change model.