Design and integration of MZI modulators and AWG-based multiwavelength lasers in InP