Started preparing implementation of monitor class.