add document stub views and template
update document index
update document
add document add template