Point of sale and inventory system