Encapsulate the creation of the monitor object