Most of main class fixed with the exception of discounts, products, productregistry, perishable aswell as non_perishable should be complete aswell. Included changes in register and purchase