[classicui] finish refactor.