get rid of path changing, allow running of api.py, better gitignore