Nano-enabled sensors, electronics and energy source on polymer, paper and thread substrates