added beginnings of StockDetail class