Nanophotonics-assisted Optoelectronic devices