added back the StockApp.rb file
various changes