Added moda.py and modb.py