Taming Heterogeneity and Complexity of Embedded Control