Move specific pieces of logic still in use next to the individual parts of the code that use them, and eliminate base from the code.
Remove unused sc_cf_cmake.h.in, rename sc_cf.h to the more standard name "config.h", don't call the generator twice