Added PiCl class definition