started refactoring irc aspect