take input to get information about item to be added into cart

id and quantity of item is added
added singleton for Stock