Splitting the RobotRace class into multiple classes