Updated PluginAPI with a new way of managing configuration