optimize the architecture and UI.