Refactored code to make it more readable

added a product class and a receipt class.
removed all processing code from POSSystem so it only controls the view
receipt class holds all the products and calculates the totals