Design of Reconfigurable On-Chip Optical Architectures based on Phase Change Material