Modernized all the imports and fixed setup.py to avoid import.