UI and clean implementation

Signed-off-by: eggfly <lihaohua90@gmail.com>