Active Thermal Engineering Using Nanostructures