First public version of Jigsaw-Bot

The commenting is still terrible, will update if anyone else starts
working on it at all.