Distributed Control of Large-Scale Networks: From Theory to Applications