Programmable Photonics integrated circuits