add two files. First with class MonitorH/L, Second with main()