Text this: Distributed control for the smart grid with communication constraints and cyber-security