add CommPin class
merge tamanyan