Gravar-mail: Agent-based distributed manufacturing control: a state-of-the-art survey