Refactor the Loader facility configuration parsing