refactor new plugin

Using the configuration to create project：