I've got a lot of progress done here. See https://github.com/wiki-ai/wikiclass/pull/30
That PR is now ready, but I can't remove the "(WIP)" from the title right now because DynDNS is getting DDoS'd and that's taken down github.
Title now changed. Everything is ready for review. See https://github.com/wiki-ai/wikiclass/pull/30