Cleaner, single File, define based logic for CfgFunctions in GAIA

Instead of maintaining two files, it's clearer and easier to use only one file and use the preprocessor logic instead to determine paths.