Move main out of robotFramework