update setup.py

move swinf.py to core.py