add product class and methods to display total price and grand total