Fragment class added

Fragment class added to camera capture functionality