ENH:add the framework of UI