Refactored materials initializer to use the import manager.