Αποστολή με SMS: Shape Optimization, Homogenization and Optimal Control