Base code for any Command Based robot