use agent to handle commands
the command macro works with the irc bridge, significant reworking of project