Fixed a lot of warnings
Added data generation tool
Fixed some bugs with the inventory and reorder process