Closes  #18, Agent groups