refactor and add StockTrading and StockDirectory