Waveguide Integrated Optoelectronics Using Two-Dimensional Materials