Optoelectronic Devices Using 2D Layered Materials