Publish Setting.Mode v2 & Setting.Type v1

finish Type model
update index.html -- update Mode UI
update setting.js -- add Type functions
create task_type.xml -- task dom
add annotations