changed constructor structure for raspicam