add guide functions.
add template files.
modified files.