Rearrange code
[materials.orders] - Added create order function