Nano Engineering for Thermoelectrics and Spintronics