add new frame

1、add new frame class
2、improve new frame logic