Added config, agent struct.