[DEV] begin to refactor ui