重构框架

Signed-off-by: Meathill <meathill@gmail.com>