Create MemoryModel.java