Added code to store Stock data (and refactored the stock data class a little.