Refactor IPluginLoader (use explicit base directory in loadPlugins).