reorganize configurations into templates
reorganize the templates