Inventory system from scratch. WIP.