Implement Inventory saving and add ViewType for future expansion