Created a class for communicating with the robot over serial