refactored data_parse.py
refactored data_parse.py
added docstrings