1)support the wx interface, 2)refine the models