made startRecording and switchCamera methods accessible to be connected to any UIView