first working monitor. also inclusion of json configuration