code: public void addPlugin(String name, MoskitoPlugin plugin, PluginConfig config){
  		plugins.put(name, plugin);
  		try{
  			plugin.initialize();
  			configs.put(name, config);
  		}catch(Exception e){
  			log.warn("couldn't initialize plugin "+name+" - "+plugin+", removing", e);
  			plugins.remove(name);
  		}
  	}
docs: Adds a new loaded plugin.
  @param name name of the plugin for ui.
  @param plugin the plugin instance.
  @param config plugin config which was used to load the plugin.