Nanoengineered Functional Structures For Photonic And Microfluidic Applications