Controlled Integration of Nanocrystals into Functional Structures