I got it sorted, I was way over complicating it! Now I can update the craft data list and it will automatically update the crafting window with the icons and put them into their correct group in the crafting window
Also, When it is pressed, it gets the item data from the list, checks the required materials, removes then and adds the crafted item makes life much easier now I have it all automated haha