Add testing and demo utilities.
Cause server to generate a diff for interpeter.

Also logs summary of changes.
Expanded configuration. Stores doc to disk.