Using Pywikibot

Mostly working; a few fixes still need to be made.