Adding command and irc support