monitror.main creation