added inventory batches and wired up app meta data