electrowinning and smelting module