updated StockQuote to be an abstract class