Split run method into __init__ and treat method
Split run method into __init__ and treat method

Change-Id: I18c29f25b272b2ccee6cfc7985f3997bb845a6db

wikimedia/pywikibot-core,jayvdb/pywikibot-core,jayvdb/pywikibot-core,PersianWikipedia/pywikibot-core,Darkdadaah/pywikibot-core,magul/pywikibot-core,hasteur/g13bot_tools_new,happy5214/pywikibot-core,npdoty/pywikibot,npdoty/pywikibot,hasteur/g13bot_tools_new,hasteur/g13bot_tools_new,happy5214/pywikibot-core,wikimedia/pywikibot-core,magul/pywikibot-core,Darkdadaah/pywikibot-core