Reorganize *.ui files for template migration