WIP: break circular dependencies. IRC doesn't need PluginFactory anymore