split bot source and header into bot, irc and util files