added inventory batches and wired up app meta data
added inventory batches and inventory
merged inventory changes into release1