Initial (and completely untested) framework for monitor based running