Update and rename core.py to spacenav.py