Start of monitor class