开始重构Editor

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