Photoelectronic properties and devices of 2D Xenes