split demo into inventoryAppBase