initial mms.py creation