Add cpi commands to docs

Also added placeholder for protocol documentation