Remove sigtype, pcreq/pcrep, clean up error codes

Remove sigtype, pcreq/pcrep, clean up error codes