[#879] Refactor start splitting config and app_globals