restructure ui files