Added psuedocode for control loop
Added command protocol specification