refactored code, placing code into shop directory, replaced qty to quantity, added getItem function to get a specific item from cart