Refactor PluginManager install Process