A back end for a Java Point of sale (LOGIC ONLY)