Add the model.py to take apart model from control

Signed-off-by: duyixian1234 <duyixian1234@qq.com>