Moved all loader logic to Loader.js