Initial work on template files.