Memory

Mayor Changes:
+ Feature Memory is implemented

Minor Changes
+ Variables renamed to be consistent