creating a class which can handle loading both tickers and stocks