Create protocol to communicate with controller