add some tpl files and modify style