Made a monitor object instead of global monitor class..