Moved main loop files to agent pythonrunner