Extenstive refactor, probably half-broken, to stop using global appConfig in favor of mkSrc.config.get