Created MemoryModule class.