updated .py files, moving towards eliminating .ipynb for development