Split ResourceLoader to Configuration Locator and Loader.
Todo: unit tests