Update file modes, new setup.py and remove setup_mac.py