Text this: High directional optical transmitter with phased array of nanoptical emitters and efficient error correction for long distance space communications