moves templates to subdirs