added monitor.py stub described in README

A monitor.py is described in the README. I have created a stub class with some functions that need to be completed. See TODO comments.