ScratchpadMemory class updated. SPM methods not implementedyet