Moved some of the common changes in analysis_class. NOTE: stock_analysis.py is not in broken state.