updated the setup to install properly. updated each of index.py and core.py in order to make them python version agnostic