design MainFramework ui