Imparting Functionality To Macromolecules For Selective Stimulus Response