New construction of UI framework