Initial import of Monitor code

Push https://github.com/HassenRiahi/AsyncStageout/pull/20