Created a Stock class

Created a getLatestValue function and a getFromAPI function to make
future methods easier.