Updated docs, model & code for inventory

* Updated docs
* Model & code for stock inventory
* Simple test for data stash