Refactor

Start of refactoring to change from stock dictionary to stock class.