Crafting improvements

Crafting box added, crafting functions added