First working version of the loader.