Gravar-mail: Fault-Resilient Collective Ternary-Hierarchical Behavior to Smart Factories