Added diff stuff to the server. The diff is now functioning-ish, though it still does some weird things.