Dipole-fiber system: from single photon source to metadevices