Use reflection to eliminate the reliance on hardcoding the robot main class