Enhance code & First diff version

Proof-of-concept of the diff functionality (between revisions)