template helper method
use title instead of name, to avoid conflict with class.name
replace name with title
extract file content into templates
Merge branch 'templates'