Implemented CInputP2P (closes #26)