Add templates and file coping