refactored Loader3D into Loader