added WebInterface and changes to the agents