refactores Loader