Override curl to try to find cached file first, remove conditions around curls
rename cf_overrides to cf_common
Extract utility functions into cf_common.sh