Clean up AssetLoader and add documentation