restructured CameraMonitor to by used by PiCam and PiHome later