added RPiCamInput class