modifying the protocol to send peggy commands and adding the peggyController module