Organizing the UI system