[task] Extract so create to a class and add a class to parse plugin configuration