Moved memory.py to the correct location