complete rewrite, create irc mod