Documentation

Add PEAR style code comments