added a master configuration, changed to use agents in the rest.