Revert "Delete aemc.py"

This reverts commit aa2ef836683f3cae4a49fa40f804743a44adcccf.