Adding a simple Worflow manager, and better revision handling (adding
the Outdated State)