move function out of main.py, introduce easybuild.tools.robot module