Rename testreceive to pgmrecv as API usage is complete.
Cleanup obsolete classes.