Text this: Optimal Design of Distributed Control and Embedded Systems