Adding a template and renaming directories