Adds SmartMemory class file