Made some major changes.

Reverted back to Cprotocol for control instead of protocol.cpp (kept all
the protocol.cpp in comments)

The advantage of Cprotocol is that I already had strong conversion from
protocol structure to a string and back. So we can count on that
mechanism in the UDP packets.