Added simple thread to irc module