refactor to make things run in new locations
update gitignore to ignore __pycache__