Investigation of structural and plasmonic properties of embedded metallic nanostructures and their applications