add title variable to tpl
1. use CONSTANT_V for names of IO object; 2. shorten scripts by eliminating duplication; 3. snesible variable names
add README