(Apple) Move location/camera code into separate files