Split stock.py to several python files