Created the service generating stock prices.
Made the StockPrice class serializable.
Used the service to generate prices.