added doxygen comments to several files
changed PIC interface