整理框架为mvc的三层结构，利于UI和逻辑的分工

Signed-off-by: lijingsmallbee <bn0305@qq.com>