Added 'state' attribute to rasPiCam object