added case statement for different commands, changed the RobotOperations

RobotOperations: Changed it into a module
Robot: added case statement to process different commands
RoboLab: corrected refeactoring