Added initial mac.py file