added raid support and fixed some issues with ItemToHardware