modify file names and add momory.py