Biomimicry in anaerobic digestion of biological sludge