update setup.py to python 3, implement config file settings