make main.py some funtion to RoboYard class