some redunduncies removed, and loadData.py added